import request from '@/utils/request'

export function getAdminUserPage(search) {
    return request({
      // url:'http://localhost:51905/api/RoleDbManager/GetPageList'
      url: 'Positioninfo/PositioninfoList',
      method: 'post',
      data:search
    })
  }

  export function adminUserAdd(adminUserInfo) {
    return request({
      url: 'Positioninfo/PositionInfoAdd',
      method: 'post',
      data: adminUserInfo
    })
  }

  export function AdminUserDelete(po_id) {
    return request({
      url: 'Positioninfo/PositionInfoDelete?po_id='+po_id,
      method: 'post',
      data: po_id
    })
  }

  export function AdminUserPut(po_id) {
    return request({
      url: 'Positioninfo/PositioninfoPut?po_id='+po_id, 
      method: 'post',
      data: po_id
    })
  }

  export function AdminUserFan(po_id) {
    return request({
      url: 'Positioninfo/GetOutsourcePoID?po_id='+po_id, 
      method: 'post',
      data: po_id
    })
  }
  


